package com.jeesite.modules.kj.api.vo.response;

import com.jeesite.modules.kj.entity.KjCity;
import com.jeesite.modules.sys.entity.DictData;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.BeanUtils;

@Data
public class DictResponseVo {

    @ApiModelProperty(value = "ID")
    private String id;
    @ApiModelProperty(value = "字典名")
    private String name;

    public DictResponseVo() {
    }

    public DictResponseVo(DictData dict) {
        this.id = dict.getDictValue();
        this.name = dict.getDictLabel();
    }
}
